<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>已部署流程模型列表</title>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
    <link rel="stylesheet" href="../../css/commen.css"/>
    <script src="../../../../scripts/boot.js" type="text/javascript"></script>
    <script src="../../js/activiti_js/activiti_process_list.js"></script>
    <script src="../../../../../js/activiti_js/activiti_process_list.js"></script>
</head>
<body>
<!--<h1 style="width: 100%;text-align: center">用户</h1>-->
<div style="width:100%;height: 32px">
    <div class="mini-toolbar" style="border:0;padding:0px;">
        <table style="width:100%;">
            <tr>
                <td style="width:100%;">
                    <!--plain="true"   :添加该属性，按默认显示没边框-->
                    <a class="mini-button" iconCls="icon-add" onclick="sercherPng()">查看流程图</a>
                    <a class="mini-button" iconCls="icon-remove" onclick="remove()">删除流程定义</a>
                    <!--<span class="separator"></span>   分割线-->
                </td>
                <td style="white-space:nowrap;">
                    <!-- <input id="key" class="mini-textbox" emptyText="请输入名称" style="width:150px;" onenter="onKeyEnter"/>
                    <a class="mini-button" onclick="search()">查询</a> -->
                    <a class="mini-button" iconCls="icon-reload" onclick="refresh()">刷新</a>
                </td>
            </tr>
        </table>
    </div>
</div>
<div class="mini-fit">
	<div id="datagrid1" class="mini-datagrid" style="width:100%;height:90vh;"  multiSelect="true" showPager="false">
	    <div property="columns">
	        <!--<div type="indexcolumn"></div>-->
	        <div type="checkcolumn" ></div>
	        <div type="indexcolumn" headerAlign="center">序号</div>
	        <div field="id" width="120" headerAlign="center" align="center">流程定义ID</div>
	        <div field="name" width="120" headerAlign="center" align="center" visible="false">流程定义名称</div>
	        <div field="key" width="120" headerAlign="center" align="center">流程定义的key</div>
	        <div field="version" width="100" headerAlign="center" align="center">流程定义的版本</div>
	        <div field="resourceName" width="120" headerAlign="center" align="center">资源名称BPMN文件</div>
	        <div field="diagramResourceName" width="120" headerAlign="center" align="center">资源名称png文件</div>
	        <div field="deploymentId" width="120" headerAlign="center" align="center">部署对象ID</div>
	
	    </div>
	</div>
</div>
<!-- 流程图显示 -->
<div id="process" style="position:absolute;left:50%;top:18%;margin-left:-492px;display: none" >
    <div style="width: 100%;height:30px;position: relative">
        <a class="mini-button" iconCls="icon-remove" onclick="close()">关闭</a>
    </div>
    <img id="imgs" src="" alt=""/>
</div>


<script src="../../js/activiti_js/activiti_process_list.js" type="text/javascript"></script>
</body>
</html>
